package com.zhuozhou.jdyc.main.main.bean;

import androidx.databinding.BaseObservable;

import com.zhuozhou.jdyc.main.goods.bean.BasicsCommodityBase;

import java.io.Serializable;
import java.util.List;

/**
 * Create by Once_ChuXy on 2021/8/23
 * Describe:
 */
public class BasicsShoppingBean extends BaseObservable implements Serializable {


    /**
     * code : 200
     * msg : 我的购物车
     * obj : {"type":[{"type":1,"number":2},{"type":2,"number":0},{"type":3,"number":0}],"obj":[{"nickname":"聚点云仓德州运营中心","id":118,"type":"1","commodity_id":19,"skustring":"70平","admin_id":118,"status_type":"3,1,2,4","jinyong":0,"distributionList":[{"id":1,"name":"快递"},{"id":2,"name":"自提"},{"id":3,"name":"同城配送"},{"id":4,"name":"货运物流"}],"discountSelect":{"id":0},"price":10000,"price2":10000,"shangpin":[{"qishou_price":"0.00","huoyun":"0.00","wuliu":"0.00","commodity_id":19,"numberlist":1,"name":"东汇大厦三楼西319","unit":"间","sku":"23","goods_price":"10000.00","number":1,"id":20,"shoppingid":886,"skustring":"70平","spec_image":"https://yuncang.dzsmxx.com/uploads/20210706/47f979413d8cbc9627f39e1445263d72.jpg","goods_weight":1,"admin_id":"118","up":"1","sku1":[{"spec_id":11,"spec_name":"定金","sku1_1":[]}],"sku2":[{"goods_spec_id":48,"goods_id":20,"goods_no":"00001","goods_price":"10000.00","numberlist":1,"numbermax":null,"numbermin":1,"expire":"2021-07-06 09:56:23","line_price":"100000.00","stock_num":50,"goods_sales":0,"goods_weight":1,"spec_sku_id":"17","spec_image":"https://yuncang.dzsmxx.com/uploads/20210706/47f979413d8cbc9627f39e1445263d72.jpg","create_time":1625536635,"update_time":1625536635}],"单商品":10000}],"discount":[]},{"nickname":"柳昭旭","id":137,"type":"1","commodity_id":27,"skustring":"22","admin_id":137,"status_type":"3,1,2,4","jinyong":0,"distributionList":[{"id":1,"name":"快递"},{"id":2,"name":"自提"},{"id":3,"name":"同城配送"},{"id":4,"name":"货运物流"}],"discountSelect":{"id":0},"price":0,"price2":0,"shangpin":[],"discount":[]}]}
     */

    private int code;
    private String msg;
    private ObjBeanX obj;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public ObjBeanX getObj() {
        return obj;
    }

    public void setObj(ObjBeanX obj) {
        this.obj = obj;
    }

    public static class ObjBeanX extends BaseObservable implements Serializable {
        private List<TypeBean> type;
        private List<ObjBean> obj;

        public List<TypeBean> getType() {
            return type;
        }

        public void setType(List<TypeBean> type) {
            this.type = type;
        }

        public List<ObjBean> getObj() {
            return obj;
        }

        public void setObj(List<ObjBean> obj) {
            this.obj = obj;
        }

        public static class TypeBean {
            /**
             * type : 1
             * number : 2
             */

            private int type;
            private int number;

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }

            public int getNumber() {
                return number;
            }

            public void setNumber(int number) {
                this.number = number;
            }
        }

        public static class ObjBean extends BaseObservable implements Serializable {
            /**
             * nickname : 聚点云仓德州运营中心
             * id : 118
             * type : 1
             * commodity_id : 19
             * skustring : 70平
             * admin_id : 118
             * status_type : 3,1,2,4
             * jinyong : 0
             * distributionList : [{"id":1,"name":"快递"},{"id":2,"name":"自提"},{"id":3,"name":"同城配送"},{"id":4,"name":"货运物流"}]
             * discountSelect : {"id":0}
             * price : 10000
             * price2 : 10000
             * shangpin : [{"qishou_price":"0.00","huoyun":"0.00","wuliu":"0.00","commodity_id":19,"numberlist":1,"name":"东汇大厦三楼西319","unit":"间","sku":"23","goods_price":"10000.00","number":1,"id":20,"shoppingid":886,"skustring":"70平","spec_image":"https://yuncang.dzsmxx.com/uploads/20210706/47f979413d8cbc9627f39e1445263d72.jpg","goods_weight":1,"admin_id":"118","up":"1","sku1":[{"spec_id":11,"spec_name":"定金","sku1_1":[]}],"sku2":[{"goods_spec_id":48,"goods_id":20,"goods_no":"00001","goods_price":"10000.00","numberlist":1,"numbermax":null,"numbermin":1,"expire":"2021-07-06 09:56:23","line_price":"100000.00","stock_num":50,"goods_sales":0,"goods_weight":1,"spec_sku_id":"17","spec_image":"https://yuncang.dzsmxx.com/uploads/20210706/47f979413d8cbc9627f39e1445263d72.jpg","create_time":1625536635,"update_time":1625536635}],"单商品":10000}]
             * discount : []
             */

            private String nickname;
            private int id;
            private String type;
            private int commodity_id;
            private String sku;
            private String skustring;
            private int admin_id;
            private String store_id;
            private String status_type;
            private int jinyong;
            private BasicsCommodityBase.DataBean.DiscountBean discountSelect;
            private Double price;
            private Double price2;
            private Double zongyibi;
            private Double integral;
            private List<BasicsCommodityBase.DataBean.DistributionBean> distributionList;
            private List<ShangpinBean> shangpin;
            private List<BasicsCommodityBase.DataBean.DiscountBean> discount;
            private boolean Checked;

            public String getNickname() {
                return nickname;
            }

            public void setNickname(String nickname) {
                this.nickname = nickname;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public int getCommodity_id() {
                return commodity_id;
            }

            public void setCommodity_id(int commodity_id) {
                this.commodity_id = commodity_id;
            }

            public String getSku() {
                return sku;
            }

            public void setSku(String sku) {
                this.sku = sku;
            }

            public String getSkustring() {
                return skustring;
            }

            public void setSkustring(String skustring) {
                this.skustring = skustring;
            }

            public int getAdmin_id() {
                return admin_id;
            }

            public void setAdmin_id(int admin_id) {
                this.admin_id = admin_id;
            }

            public String getStore_id() {
                return store_id;
            }

            public void setStore_id(String store_id) {
                this.store_id = store_id;
            }

            public String getStatus_type() {
                return status_type;
            }

            public void setStatus_type(String status_type) {
                this.status_type = status_type;
            }

            public int getJinyong() {
                return jinyong;
            }

            public void setJinyong(int jinyong) {
                this.jinyong = jinyong;
            }

            public Double getIntegral() {
                return integral;
            }

            public void setIntegral(Double integral) {
                this.integral = integral;
            }

            public BasicsCommodityBase.DataBean.DiscountBean getDiscountSelect() {
                return discountSelect;
            }

            public void setDiscountSelect(BasicsCommodityBase.DataBean.DiscountBean discountSelect) {
                this.discountSelect = discountSelect;
            }

            public Double getPrice() {
                return price;
            }

            public void setPrice(Double price) {
                this.price = price;
            }

            public Double getPrice2() {
                return price2;
            }

            public void setPrice2(Double price2) {
                this.price2 = price2;
            }

            public Double getZongyibi() {
                return zongyibi;
            }

            public void setZongyibi(Double zongyibi) {
                this.zongyibi = zongyibi;
            }

            public List<BasicsCommodityBase.DataBean.DistributionBean> getDistributionList() {
                return distributionList;
            }

            public void setDistributionList(List<BasicsCommodityBase.DataBean.DistributionBean> distributionList) {
                this.distributionList = distributionList;
            }

            public List<ShangpinBean> getShangpin() {
                return shangpin;
            }

            public void setShangpin(List<ShangpinBean> shangpin) {
                this.shangpin = shangpin;
            }

            public List<BasicsCommodityBase.DataBean.DiscountBean> getDiscount() {
                return discount;
            }

            public void setDiscount(List<BasicsCommodityBase.DataBean.DiscountBean> discount) {
                this.discount = discount;
            }

            public boolean isChecked() {
                return Checked;
            }

            public void setChecked(boolean checked) {
                Checked = checked;
            }

            public static class DistributionListBean implements Serializable {
                /**
                 * id : 1
                 * name : 快递
                 */

                private int id;
                private String name;

                public int getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }
            }

            public static class ShangpinBean extends BaseObservable implements Serializable {
                /**
                 * qishou_price : 0.00
                 * huoyun : 0.00
                 * wuliu : 0.00
                 * commodity_id : 19
                 * numberlist : 1
                 * name : 东汇大厦三楼西319
                 * unit : 间
                 * sku : 23
                 * goods_price : 10000.00
                 * number : 1
                 * id : 20
                 * shoppingid : 886
                 * skustring : 70平
                 * spec_image : https://yuncang.dzsmxx.com/uploads/20210706/47f979413d8cbc9627f39e1445263d72.jpg
                 * goods_weight : 1
                 * admin_id : 118
                 * up : 1
                 * sku1 : [{"spec_id":11,"spec_name":"定金","sku1_1":[]}]
                 * sku2 : [{"goods_spec_id":48,"goods_id":20,"goods_no":"00001","goods_price":"10000.00","numberlist":1,"numbermax":null,"numbermin":1,"expire":"2021-07-06 09:56:23","line_price":"100000.00","stock_num":50,"goods_sales":0,"goods_weight":1,"spec_sku_id":"17","spec_image":"https://yuncang.dzsmxx.com/uploads/20210706/47f979413d8cbc9627f39e1445263d72.jpg","create_time":1625536635,"update_time":1625536635}]
                 * 单商品 : 10000
                 */

                private String qishou_price;
                private String huoyun;
                private String wuliu;
                private String integral;
                private String yibi;
                private int commodity_id;
                private int numberlist;
                private String name;
                private String unit;
                private String sku;
                private String goods_price;
                private int number;
                private int id;
                private int shoppingid;
                private String skustring;
                private String spec_image;
                private String goods_weight;
                private String admin_id;
                private String up;
                private String type;
                private String danshangpin;
                private List<Sku1Bean> sku1;
                private List<Sku2Bean> sku2;
                private boolean Checked;

                public String getType() {
                    return type;
                }

                public void setType(String type) {
                    this.type = type;
                }

                public String getQishou_price() {
                    return qishou_price;
                }

                public void setQishou_price(String qishou_price) {
                    this.qishou_price = qishou_price;
                }

                public String getHuoyun() {
                    return huoyun;
                }

                public void setHuoyun(String huoyun) {
                    this.huoyun = huoyun;
                }

                public String getWuliu() {
                    return wuliu;
                }

                public void setWuliu(String wuliu) {
                    this.wuliu = wuliu;
                }

                public String getIntegral() {
                    return integral;
                }

                public void setIntegral(String integral) {
                    this.integral = integral;
                }

                public String getYibi() {
                    return yibi;
                }

                public void setYibi(String yibi) {
                    this.yibi = yibi;
                }

                public int getCommodity_id() {
                    return commodity_id;
                }

                public void setCommodity_id(int commodity_id) {
                    this.commodity_id = commodity_id;
                }

                public int getNumberlist() {
                    return numberlist;
                }

                public void setNumberlist(int numberlist) {
                    this.numberlist = numberlist;
                }

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }

                public String getUnit() {
                    return unit;
                }

                public void setUnit(String unit) {
                    this.unit = unit;
                }

                public String getSku() {
                    return sku;
                }

                public void setSku(String sku) {
                    this.sku = sku;
                }

                public String getGoods_price() {
                    return goods_price;
                }

                public void setGoods_price(String goods_price) {
                    this.goods_price = goods_price;
                }

                public int getNumber() {
                    return number;
                }

                public void setNumber(int number) {
                    this.number = number;
                }

                public int getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }

                public int getShoppingid() {
                    return shoppingid;
                }

                public void setShoppingid(int shoppingid) {
                    this.shoppingid = shoppingid;
                }

                public String getSkustring() {
                    return skustring;
                }

                public void setSkustring(String skustring) {
                    this.skustring = skustring;
                }

                public String getSpec_image() {
                    return spec_image;
                }

                public void setSpec_image(String spec_image) {
                    this.spec_image = spec_image;
                }

                public String getGoods_weight() {
                    return goods_weight;
                }

                public void setGoods_weight(String goods_weight) {
                    this.goods_weight = goods_weight;
                }

                public String getAdmin_id() {
                    return admin_id;
                }

                public void setAdmin_id(String admin_id) {
                    this.admin_id = admin_id;
                }

                public String getUp() {
                    return up;
                }

                public void setUp(String up) {
                    this.up = up;
                }

                public String getDanshangpin() {
                    return danshangpin;
                }

                public void setDanshangpin(String danshangpin) {
                    this.danshangpin = danshangpin;
                }

                public List<Sku1Bean> getSku1() {
                    return sku1;
                }

                public void setSku1(List<Sku1Bean> sku1) {
                    this.sku1 = sku1;
                }

                public List<Sku2Bean> getSku2() {
                    return sku2;
                }

                public void setSku2(List<Sku2Bean> sku2) {
                    this.sku2 = sku2;
                }

                public boolean isChecked() {
                    return Checked;
                }

                public void setChecked(boolean checked) {
                    Checked = checked;
                }

                public static class Sku1Bean implements Serializable {
                    /**
                     * spec_id : 11
                     * spec_name : 定金
                     * sku1_1 : []
                     */

                    private int spec_id;
                    private String spec_name;
                    private List<?> sku1_1;

                    public int getSpec_id() {
                        return spec_id;
                    }

                    public void setSpec_id(int spec_id) {
                        this.spec_id = spec_id;
                    }

                    public String getSpec_name() {
                        return spec_name;
                    }

                    public void setSpec_name(String spec_name) {
                        this.spec_name = spec_name;
                    }

                    public List<?> getSku1_1() {
                        return sku1_1;
                    }

                    public void setSku1_1(List<?> sku1_1) {
                        this.sku1_1 = sku1_1;
                    }
                }

                public static class Sku2Bean implements Serializable {
                    /**
                     * goods_spec_id : 48
                     * goods_id : 20
                     * goods_no : 00001
                     * goods_price : 10000.00
                     * numberlist : 1
                     * numbermax : null
                     * numbermin : 1
                     * expire : 2021-07-06 09:56:23
                     * line_price : 100000.00
                     * stock_num : 50
                     * goods_sales : 0
                     * goods_weight : 1
                     * spec_sku_id : 17
                     * spec_image : https://yuncang.dzsmxx.com/uploads/20210706/47f979413d8cbc9627f39e1445263d72.jpg
                     * create_time : 1625536635
                     * update_time : 1625536635
                     */

                    private int goods_spec_id;
                    private int goods_id;
                    private String goods_no;
                    private String goods_price;
                    private int numberlist;
                    private Object numbermax;
                    private int numbermin;
                    private String expire;
                    private String line_price;
                    private int stock_num;
                    private int goods_sales;
                    private String goods_weight;
                    private String spec_sku_id;
                    private String spec_image;
                    private int create_time;
                    private int update_time;

                    public int getGoods_spec_id() {
                        return goods_spec_id;
                    }

                    public void setGoods_spec_id(int goods_spec_id) {
                        this.goods_spec_id = goods_spec_id;
                    }

                    public int getGoods_id() {
                        return goods_id;
                    }

                    public void setGoods_id(int goods_id) {
                        this.goods_id = goods_id;
                    }

                    public String getGoods_no() {
                        return goods_no;
                    }

                    public void setGoods_no(String goods_no) {
                        this.goods_no = goods_no;
                    }

                    public String getGoods_price() {
                        return goods_price;
                    }

                    public void setGoods_price(String goods_price) {
                        this.goods_price = goods_price;
                    }

                    public int getNumberlist() {
                        return numberlist;
                    }

                    public void setNumberlist(int numberlist) {
                        this.numberlist = numberlist;
                    }

                    public Object getNumbermax() {
                        return numbermax;
                    }

                    public void setNumbermax(Object numbermax) {
                        this.numbermax = numbermax;
                    }

                    public int getNumbermin() {
                        return numbermin;
                    }

                    public void setNumbermin(int numbermin) {
                        this.numbermin = numbermin;
                    }

                    public String getExpire() {
                        return expire;
                    }

                    public void setExpire(String expire) {
                        this.expire = expire;
                    }

                    public String getLine_price() {
                        return line_price;
                    }

                    public void setLine_price(String line_price) {
                        this.line_price = line_price;
                    }

                    public int getStock_num() {
                        return stock_num;
                    }

                    public void setStock_num(int stock_num) {
                        this.stock_num = stock_num;
                    }

                    public int getGoods_sales() {
                        return goods_sales;
                    }

                    public void setGoods_sales(int goods_sales) {
                        this.goods_sales = goods_sales;
                    }

                    public String getGoods_weight() {
                        return goods_weight;
                    }

                    public void setGoods_weight(String goods_weight) {
                        this.goods_weight = goods_weight;
                    }

                    public String getSpec_sku_id() {
                        return spec_sku_id;
                    }

                    public void setSpec_sku_id(String spec_sku_id) {
                        this.spec_sku_id = spec_sku_id;
                    }

                    public String getSpec_image() {
                        return spec_image;
                    }

                    public void setSpec_image(String spec_image) {
                        this.spec_image = spec_image;
                    }

                    public int getCreate_time() {
                        return create_time;
                    }

                    public void setCreate_time(int create_time) {
                        this.create_time = create_time;
                    }

                    public int getUpdate_time() {
                        return update_time;
                    }

                    public void setUpdate_time(int update_time) {
                        this.update_time = update_time;
                    }
                }
            }
        }
    }
}
